/**
 * 
 */
package com.dhcc.DRGsHosp.application.impl;

import java.util.List;
import java.util.Map;

import javax.inject.Named;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate;
import org.springframework.transaction.annotation.Transactional;

import com.dhcc.DRGsHosp.application.JasperReportApplication;

/**
 * 
 * @ClassName: JasperReportApplicationImpl  
 * @Description ：    
 * @Date: 2017年9月4日 下午4:38:05  
 * @Author ChenHanlin 
 * @Version 2.5.0 DHC-DRGs
 */
@Named
@Transactional
public class JasperReportApplicationImpl implements JasperReportApplication {
	@Autowired
	private NamedParameterJdbcTemplate jdbcTempSeverice;
	/**
	 * 
	 *  @Description：
	 *  @Author ChenHanlin  
	 *  @see com.dhcc.DRGsHosp.application.JasperReportApplication#executeQueryForList(java.lang.String, java.lang.Object)
	 */
	@Override
	public List<Map<String, Object>> executeQueryForList(String sql,Map<String,Object> condition) {
		List<Map<String, Object>> mapLsit = jdbcTempSeverice.queryForList(sql, condition)  ;
		return mapLsit;
	}
}
